package com.weixing.mall.provider.model.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author wx
 * @Date 2019/8/6 9:28
 * @Version 1.0
 */
@Data
@ApiModel("场景")
public class SceneDto {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("场景名称")
    @NotNull(message = "场景名称不能为空")
    private String sceneName;

    @ApiModelProperty("启用/不启用")
    private Integer isEnable;

    @ApiModelProperty("排序")
    private Integer orderBy;

}
